package com.yonyougov.devops.cruxcisupport.rancher.service;

import lombok.Data;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
public class RhService {
    private Integer healthCheckNodePort = 0;
    private boolean publishNotReadyAddresses;
    private String type = "service";
    private String namespaceId;
    private String ipAddresses;
    private String sessionAffinity = "None";
    private String kind = "NodePort";
    private String clusterIp = "";
    private List<RhServicePort> ports = new ArrayList<>();
    private RhNameSpaceDto nameSpace;
    private Map<String, String> labels = new HashMap<>();
    private String name;
    private String externalTrafficPolicy = "Cluster";
    private Map<String, String> selector = new HashMap<>();
    private String hostname;
    private String targetDnsRecordIds;
    private String targetWorkloadIds;
}
